import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import '@/assets/global.css'
import axios from 'axios'
import './plugins/charts.js'

Vue.config.productionTip = false
// 配置请求的请求根路径
axios.defaults.baseURL = 'http://localhost:8888/'
// 配置方法
Vue.prototype.$http = axios
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
